package fun.chutianshu.competitionmanagement.service;

import fun.chutianshu.competitionmanagement.pojo.Student;

import java.util.List;


public interface StudentService {
    //获取所有的数据
    List<Student> getAllStudents();

    //获取某一条记录
    Student getOneStudent(int stuCode);

    //更新一条记录
    int updateStudent(Student student);

    //新增一条记录
    int addStudent(Student student);

    //删除一条记录
    int delStudent(int stuCode);
}
